home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-27 | 1.1 KB | 36 lines | [TEXT/MPS ] |
- # UserStartup•CInc - customized MPW Shell UserStartup File
- #
- # This file contains the definitions used by the CIncludes tools and scripts
- # also adds support for multiple (nested) CIncludes folders for Apple MPW and Symantec MPW C/C++ compilers
-
- # support extra CIncludes search paths
- # for MPW C and C++ …
- Set CIncList ""
- For i in `Files -f -d "{CIncludes}" ≥ Dev:Null`
- Set CIncList "{CIncList} -i {i}"
- End # For i
- Export CIncList
- Alias C 'C {CIncList}'
- Alias CPlus 'CPlus {CIncList}'
- # for Symantec C++ …
- Set SCIncList ""
- For i in `Files -f -d "{SCIncludes}" ≥ Dev:Null`
- Set SCIncList "{SCIncList} -i {i}"
- End # For i
- Export SCIncList
- Alias SC 'SC {CIncList}'
- Alias SCpp 'SCpp {CIncList}'
-
- # add the C function prototype/definition finding commands to the Find menu
- AddMenu Find '(-' ''
- AddMenu Find 'CIncludesLocate' 'CIncludesTool -f'
- AddMenu Find 'CIncludesReformat' 'CIncludesTool -i'
- AddMenu Find 'CIncludesOpenHeader' 'CIncludesTool -d'
- AddMenu Find 'CIncludesRebuild' 'CIncludesTool -m'
- AddMenu Find 'Set Compiler…' 'Execute SetCompiler'
- AddMenu Find '(-' ''
-
- Set CIncludesCompiler AppleCFront
- Export CIncludesCompiler
-
- # end of UserStartup•CInc